package com.qingrongby.shop.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;
import java.util.List;

/**
 * @CLASSNAME OrderdDto
 * @DESCRIPTION TODO
 * @AUTHOR hzp
 * @DATE 2020/8/2
 * @VERSION 1.0
 **/
@Getter
@Setter
public class OrderdDTO {
    @DecimalMax(value = "99999999.99")
    @DecimalMin("0.00")
    private BigDecimal totalPrice;
    private BigDecimal finalTotalPrice;
    private Long couponId;
    private List<SkuInfoDTO> skuInfo;
    private OrderAddressDTO address;
}
